package com.hebeiwangxiaozhang.response;


public enum ResponseCode {
    SUCCESS(200,"Request Successfully!"),
    BAD_REQUEST(400, "Bad Request!"),
    BAD_ESBULK_REQUEST(250, "Part bulk or whole bulk request are failed!"),
    NOT_FOUND(404, "Not Found!"),
    UNAUTHORIZED(401, "UNAUTHORIZED, Please logon the system!");
    private final Integer code;
    private final String message;
    private ResponseCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
